from django.template import Library


register = Library()


@register.filter
def dic_name(dictionary):
    return dictionary.get('name')


@register.filter
def dic_c(dictionary):
    return dictionary.get('c')